function WithUser({ render }) {
  const user = { name: 'Kimi', age: 25 };

  return <div>{render(user)}</div>;
}


const WithUserTest = () => {

  return (
    <WithUser
      render={(user) => (
        <div>
          <h1>{user.name}</h1>
          <p>{user.age} years old</p>
        </div>
      )}
    />
  );
}